
cc.Class({
    extends: cc.Component,

    properties: {
        mLoadingTips: {
            default: null,
            type: cc.Node
        },
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        this.node.on('touchstart', function (event) {
            event.stopPropagation();
            return false;
        });
        let rotateBy = cc.rotateBy(0.5,90);
        this.mLoadingTips.runAction(cc.repeatForever(rotateBy));
    },

    start () {

    },

    // update (dt) {},
});
